package com.model;

/**
 *
 * @author Lang Van Hao
 */
public class Role {

    private int roleID;
    private String roleName;

    public Role() {
    }

    /**
     * Contructor for RoleClass
     * @param roleID
     * @param roleName
     */
    public Role(int roleID, String roleName) {
        this.setData(roleID, roleName);
    }

    /**
     * Method to set data for RoleClass
     * @param roleID
     * @param roleName
     */
    public void setData(int roleID, String roleName) {
        this.setRoleID(roleID);
        this.setRoleName(roleName);
    }

    /**
     * @return the roleID
     */
    public int getRoleID() {
        return roleID;
    }

    /**
     * @param roleID the roleID to set
     */
    public void setRoleID(int roleID) {
        this.roleID = roleID;
    }

    /**
     * @return the roleName
     */
    public String getRoleName() {
        return roleName;
    }

    /**
     * @param roleName the roleName to set
     */
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
